import 'package:flutter/material.dart';
import 'package:flutter_aggregate/model/onlineOrder/constants.dart';
import 'package:flutter_aggregate/model/plant/constants.dart';
import 'package:flutter_aggregate/utils/material_color_util.dart';

class Themes {

  static final plantTheme = ThemeData(
    scaffoldBackgroundColor: palntKBackgroundColor,
    primaryColor: palntKPrimaryColor,
    primarySwatch: createMaterialColor(palntKPrimaryColor),
    visualDensity: VisualDensity.adaptivePlatformDensity
  );

  static final onlineOrderTheme = ThemeData(
    scaffoldBackgroundColor: Colors.white,
    primaryColor: onlineOrderKPrimaryColor,
    primarySwatch: createMaterialColor(onlineOrderKPrimaryColor),
    visualDensity: VisualDensity.adaptivePlatformDensity,
    textTheme: const TextTheme(
      bodyText1: TextStyle(
        color: onlineOrderKSecondaryColor
      ),
      bodyText2: TextStyle(
        color: onlineOrderKSecondaryColor
      )
    )
  );
  
}